package com.neusoft.databus.core.service;

import java.util.List;

import com.neusoft.databus.common.dto.DictionaryDTO;
import com.neusoft.databus.common.enums.DictionaryType;

public interface DictionaryService {
    List<DictionaryDTO> findByDictionaryTypeAndParentIsNotNull(DictionaryType dictionaryType);

    List<DictionaryDTO> findByDictionaryTypeAndParentIsNull(DictionaryType dictionaryType);

    DictionaryDTO save(DictionaryDTO dto);
}
